package com.dlg.commons.dto;

import com.dlg.commons.enums.SourceEnum;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;

/**
 * 验证码VO
 * @author jiangchangcheng  2017年4月20日 上午11:17:44
 * @since JDK 1.7
 */
public class VerifyCode implements Serializable{
	private static final long serialVersionUID = 1L;
	private SourceEnum source;
	private BigInteger userId;
	private String phone;
	private String verifyCode;
	//超时时间(分钟) 默认10
	private int timeOut = 10;
	private String templateId;
	private List<String> params;
	
	public int getTimeOut() {
		return timeOut;
	}
	public void setTimeOut(int timeOut) {
		this.timeOut = timeOut;
	}
	public SourceEnum getSource() {
		return source;
	}
	public void setSource(SourceEnum source) {
		this.source = source;
	}
	public BigInteger getUserId() {
		return userId;
	}
	public void setUserId(BigInteger userId) {
		this.userId = userId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getVerifyCode() {
		return verifyCode;
	}
	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	public String getTemplateId() {
		return templateId;
	}

	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	public List<String> getParams() {
		return params;
	}

	public void setParams(List<String> params) {
		this.params = params;
	}
}
